﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="dingdan_chakanmy.aspx.cs" Inherits="dingdan_chakanmy" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>家具销售平台</title>
    <script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
    <link href="images/StyleSheet.css" type="text/css" rel="stylesheet">
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="98%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#008000"
            style="border-collapse: collapse">
            <tbody>
                <tr class="tr2">
                    <td bgcolor="#f1f8f5" style="padding-left: 5px; height: 25px">
                        订单信息
                    </td>
                </tr>
                <tr class="tr1">
                    <td style="padding-left: 5px; height: 25px">


<%--3 搜索表单按钮列表--%>
                        <%--&nbsp;<asp:Button ID="Export" runat="server" OnClick="Export_Click" Text="数据导出EXCEL"
                            Style='border: solid 1px #000000; color: #666666' />--%>

                        <asp:DataGrid ID="DataGrid1" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                            BorderColor="Black" CellPadding="2" font-name="verdana" Font-Names="verdana"
                            Font-Size="8pt" HeaderStyle-BackColor="#F8FAFC" PageSize="6" Width="100%" OnPageIndexChanged="DataGrid1_PageIndexChanged"
                            AllowPaging="True">
                            <HeaderStyle BackColor="#F8FAFC" Font-Bold="True" HorizontalAlign="Center" VerticalAlign="Middle" />
                            <PagerStyle Font-Bold="True" Font-Names="宋体" ForeColor="Blue" HorizontalAlign="Right"
                                NextPageText="下一页" PrevPageText="上一页" />
                            <EditItemStyle BackColor="#E9F0F8" CssClass="input_text" Font-Bold="False" Font-Italic="False"
                                Font-Overline="False" Font-Size="Smaller" Font-Strikeout="False" Font-Underline="False"
                                HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                            <Columns>
                                <asp:TemplateColumn HeaderText="序号">
                                    <HeaderStyle Width="5px" />
                                    <ItemTemplate>
                                        <%#Container.ItemIndex+1 %>
                                    </ItemTemplate>
                                </asp:TemplateColumn>

<%--4 绑定属性显示列表--%>


                                <asp:boundcolumn datafield="bianhao" headertext="编号"></asp:boundcolumn>
                                <asp:boundcolumn datafield="jine" headertext="订单金额"></asp:boundcolumn>
                                <asp:boundcolumn datafield="zhifushenhe" headertext="是否支付"></asp:boundcolumn>
                                <asp:boundcolumn datafield="fahuoshenhe" headertext="是否发货"></asp:boundcolumn>
                                <asp:boundcolumn datafield="shouhuoshenhe" headertext="是否收货"></asp:boundcolumn>
                                <asp:BoundColumn DataField="f_zhifufangshimingcheng" HeaderText="支付方式"></asp:BoundColumn>
                                <asp:boundcolumn datafield="xingming" headertext="姓名"></asp:boundcolumn>
                                <asp:boundcolumn datafield="dianhua" headertext="电话"></asp:boundcolumn>
                                <asp:boundcolumn datafield="dizhi" headertext="送货地址"></asp:boundcolumn>
                                <asp:BoundColumn DataField="f_usersloginname" HeaderText="用户"></asp:BoundColumn>
                                <asp:boundcolumn datafield="shijian" headertext="时间"></asp:boundcolumn>
                                <asp:boundcolumn datafield="wuliu" headertext="物流信息"></asp:boundcolumn>
                                <asp:boundcolumn datafield="beizhu" headertext="备注"></asp:boundcolumn>



                                <asp:TemplateColumn HeaderText="操作">

                                    <ItemTemplate>



                        <a href="sh.aspx?id=<%#DataBinder.Eval(Container.DataItem, "id") %>&yuan=no&tablename=dingdan&colname=zhifushenhe"
                                                                        onclick="return confirm('您确定要执行此操作？')">支付</a>
                         <a href="sh.aspx?id=<%#DataBinder.Eval(Container.DataItem, "id") %>&yuan=no&tablename=dingdan&colname=shouhuoshenhe"
                                                                         onclick="return confirm('您确定要执行此操作？')">收货</a>
  


                                    </ItemTemplate>

                                </asp:TemplateColumn>

                            </Columns>
                            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                Font-Underline="False" HorizontalAlign="Center" />
                        </asp:DataGrid>
                    </td>
                </tr>
                <tr class="tr1">
                    <td bgcolor="#f1f8f5" style="padding-left: 5px; height: 25px">
                        <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
                        <input type="button" name="Submit5" value="返回" onclick="javascript:history.back();" />                
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    </form>
</body>
</html>
